package top.dingyingying.springboot3.service;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.PathVariable;
import top.dingyingying.springboot3.base.PageBean;
import top.dingyingying.springboot3.base.R;
import top.dingyingying.springboot3.entity.TbSoftwareType;
import top.dingyingying.springboot3.vo.PageVo;

import java.util.List;

public interface TbSoftwareTypeService {
    TbSoftwareType queryCname(String cname);

    R<String> insert(TbSoftwareType tbSoftwareType);


    R<PageVo<TbSoftwareType>> queryPage(PageBean pageBean, TbSoftwareType tbSoftwareType);

    R<TbSoftwareType> queryById(@PathVariable Integer id);

    R<String> update(TbSoftwareType tbSoftwareType);

    R<String> delete(Integer id);
}
